require(['farm-footer','loading'], function(farmfooter,loading) {
	var farmManage = new Vue({
		el: '#farmManage',
		data: {
			tuserData: [],
			showLoading: false,
			apiUrl: wxUrl + '/v3.3/personalInfo/info',
			item: {
				params:{
					token: token,
					userToken: userToken
				}
			}
		},
		ready: function() {
	        this.getPersonalInfo()
	    },
		methods: {
			getPersonalInfo: function() {
				this.$http.get(this.apiUrl, this.item)
					.then(function(response) {
						var result = JSON.parse(response.body);
						if(result.data){
							var tuserData = result.data;
							this.$set('tuserData', tuserData);
						}
					},function(response) {
						//errorCallback
					});
			}
		}
	});
});